<!-- 智能估计看板 -->
<template>
  <c-modal
    title="智能估计看板"
    :visible.sync="dialogVisible"
    :centered="true">
    <div class="content-box">
      <div class="tip-box">基于【智能风险评估 V1.0】进行自动化评估</div>
      <div class="company-box">
        <div class="company-img">
          <img class="bl-img" src="@/assets/img/guangqi-logo.png" alt="">
        </div>
        <div class="company-info">
          <div class="name">广州盛世机械工具集团有限公司</div>
          <div class="other">信用代码：91411628MA442QNF9U</div>
          <div class="other">生成时间：2024-06-01</div>
        </div>
        <div class="source">数据来源于【企查查】</div>
      </div>
      <RiskInfo />
    </div>
    <template slot="footer">
      <div class="flex-center">
        <a-button @click="onDailogClose">关闭</a-button>
      </div>
    </template>
  </c-modal>
</template>

<script>
import RiskInfo from '@views/supplier-manage/register/components/RiskInfo.vue'

export default {
  name: 'IntelligentEstimationBoard',
  components: { RiskInfo },
  data() {
    return {
      dialogVisible: false,
    };
  },
  created() {
  },
  methods: {
    onDialogOpen() {
      this.dialogVisible = true;
    },
    onDailogClose() {
      this.dialogVisible = false;
    }
  }
}
</script>

<style lang="less" scoped>
.tip-box {
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  background-color: rgba(245,245,245,1);
  padding: 0 25px;
}
.company-box {
  position: relative;
  display: flex;
  padding: 12px 25px;
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.1);
  .company-img {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(187, 187, 187, 1);
    img {
      width: 100%;
      height: 100%;
    }
  }
  .company-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 25px;
    color: rgba(79, 79, 79, 1);
    .name {
      font-size: 20px;
    }
    .other {
      font-size: 16px;
    }
  }
  .source {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    color: rgba(16, 16, 16, 1);
    font-size: 14px;
  }
}
</style>